package com.ruoyi.recycle.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 系统分类对象 sys_type_config
 * 
 * @author Wubk
 * @date 2022-05-22
 */
@ApiModel("系统分类")
@Data
public class SysTypeConfig implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 租户号 */
    @ApiModelProperty(name = "id",value = "系统分类id",dataType = "Long")
    private Long id;

    /** 种类 */
    @Excel(name = "种类")
    @ApiModelProperty(name = "type",value = "种类",dataType = "String")
    private String type;

    /** 图标 */
    @Excel(name = "图标")
    @ApiModelProperty(name = "img",value = "图标",dataType = "String")
    private String img;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(name = "name",value = "名称",dataType = "String")
    private String name;

    /** 单价 */
    @Excel(name = "单价")
    @ApiModelProperty(name = "money",value = "单价",dataType = "BigDecimal")
    private BigDecimal money;

    /** 创建人 */
    @Excel(name = "创建人")
    @ApiModelProperty(name = "createdBy",value = "创建人",dataType = "String")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(name = "createdTime",value = "创建时间",dataType = "Date",notes = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    @ApiModelProperty(name = "updatedBy",value = "更新人",dataType = "String")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(name = "updatedTime",value = "更新时间",dataType = "Date",notes = "yyyy-MM-dd")
    private Date updatedTime;


}
